<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="/fuman/js/oversea.js"></script>
<title>海外仓产品目录｜海外仓管理</title>
<script type="text/javascript">
	jQuery(document).ready(function(){
		
	});
</script>
<body class="withvernav">
<div class="bodywrapper">
{{include file='/public/leftmenu.tpl'}}
<div class="centercontent tables">
  <div class="pageheader notab">
    <h1 class="pagetitle">海外仓产品目录</h1>
    <span class="pagedesc">
    关于运输成本说明：<br>
    &nbsp;&nbsp;&nbsp;&nbsp;1、系统中设立三个运输成本：海运成本、空运成本、平均成本；<br>
    &nbsp;&nbsp;&nbsp;&nbsp;2、其中空运成本是根据单个店铺的空运成本核算。如：订单核算时同一个SKU  在Carnival 运输成本10RMB，Costhat需要8RMB，根据店铺的运输任务核算<br>
    &nbsp;&nbsp;&nbsp;&nbsp;3、如果无法获得店铺的空运成本，使用平均成本
    </span>
     <div class="menulist">
        		<ul class="profile_summary">
                       {{if $managers || in_array('38',$showpower)}} <li> <a href="/oversea/addoverseaproduct" class=""><span>添加海外产品</span></a></li>{{/if}}
                        
                    </ul>
               </div>
    
     </div>
  <!--pageheader-->
  
  <div class="page">{{$pageList}} 计{{$total}}条记录，共{{$totalpage}}页</div>
  <div id="contentwrapper" class="contentwrapper"> 
    <!--搜索栏-->
    <form class="stdform stdform2" method="get" action="/oversea/product">
      <div class="tableoptions"> 操作时间：
        <input type="text"  name="starttime" value="{{$starttime}} " onClick="WdatePicker({dateFmt:'yyyy-MM-dd '})" class="width100 hasDatepicker" /> - <input type="text"  name="endtime" value="{{$endtime}} " onClick="WdatePicker({dateFmt:'yyyy-MM-dd '})" class="width100 hasDatepicker" />
       关键词: <input type="text" name="other" id="other" class="width100" value="{{$other}}" />
        产品状态:
                           <select name="status" class="selection" style="width:100px;">
                            <option value="" {{if $status==""}} selected{{/if}}>请选择</option>
                                <option value="1" {{if $status==1}} selected{{/if}}>正常</option>
                                <option value="2" {{if $status==2}} selected{{/if}}>清仓</option>
                                <option value="3" {{if $status==3}} selected{{/if}}>停产</option>
                                <option value="4" {{if $status==4}} selected{{/if}}>自建</option>
                            </select>
                           
             产品属性:
                           <select name="st" class="selection" style="width:100px;">
                            <option value="" {{if $st==""}} selected{{/if}}>请选择</option>
                                <option value="1" {{if $st==1}} selected{{/if}}>带商标</option>
                                <option value="2" {{if $st==2}} selected{{/if}}>海外仓</option>
                            </select>              
                           
        &nbsp;
        <button class="btn btn_orange btn_search radius50">Search</button>
          <button class="btn btn_orange btn_search radius50" onClick="javascript:window.open('/oversea/ajaxbutton?op=outExcel');">导出excel</button>
          <button class="btn btn_blue btn_search radius50" onClick="javascript:window.open('/oversea/ajaxbutton?op=importExcel');">导入excel</button>
      </div>
    </form>
    <!--搜索栏结束-->
    <div class="x_content" style="overflow-x:auto;">
    <table cellpadding="0" cellspacing="0" border="0" class="stdtable">
      <colgroup>
      <col class="con1" />
      <col class="con0" />
      <col class="con1" />
      <col class="con0" />
      <col class="con1" />
      <col class="con0" />
      <col class="con1" />
      </colgroup>
      <thead>
        <tr>
          <th class="head0"><a href="/oversea/product?ordery={{$orderyts}}">NO</a><span style="margin-top:15px;">&nbsp;&nbsp;<img src="/fuman/images/{{if $orderyts=='DESC'}}arrowdown{{else}}arrowup{{/if}}.png"> </span></th>
          <th class="head0"><a href="/oversea/product?orderbysku={{$orderbysku}}">商品编号</a><span style="margin-top:15px;">&nbsp;&nbsp;<img src="/fuman/images/{{if $orderbysku=='DESC'}}arrowdown{{else}}arrowup{{/if}}.png"> </span></th>
          <th class="head1">商品名称</th>
          <th class="head0">重量 KG</th>
          <th class="head1">体积 CBM</th>
          <th class="head0">长 CM</th>
          <th class="head0">宽 CM</th>
          <th class="head0">高 CM</th>
          <th class="head0">成本价</th>
            <th class="head0">平均运输成本</th>
          <th class="head0">状态</th>
          <th class="head0">操作时间</th>
          <th class="head0">操作</th>
        </tr>
      </thead>
      <tbody>
      
      {{foreach from=$list item=li key=key}}
      <tr  {{if $li.st==1}}bgcolor="#FFD2D2" title="带商标商品"{{/if}} {{if $li.hw==1}}bgcolor="#CCFFFF" title="只允许发海外仓商品"{{/if}}>
        <td>{{$li.id}}</td>
        <td>{{$li.sku}}</td>
        <td>{{$li.name}}</td>
        <td>{{$li.weight}}</td>
        <td class="center">{{$li.volumenum}}</td>
        <td class="center">{{$li.lengthnum}}</td>
        <td class="center">{{$li.widthnum}}</td>
        <td class="center">{{$li.heightnum}}</td>
        <td class="center">{{$li.costprice}}</td>
          <td class="center">{{$li.deliverprice}}</td>
        <td class="center">{{$li.status}}</td>
        <td class="center">{{$li.opertime}}</td>
        <td class="center"><a href="/oversea/addoverseaproduct?id={{$li.id}}">编辑</a> ｜<a href="/oversea/ajaxbutton?op=st&yz={{$li.st}}&id={{$li.id}}">{{if $li.st==1}}<font color=red title="带商标的商品">商标</font>{{else}}商标{{/if}}</a>
        | <a href="/oversea/ajaxbutton?op=hw&yz={{$li.hw}}&id={{$li.id}}">{{if $li.hw==1}}<font color=red title="只允许发海外仓商品">海外仓</font>{{else}}海外仓{{/if}}</a>
        {{if $department==1 || $department ==2}}
        ｜<a href="#" onClick="delproduct({{$li.id}})">删除</a>
        {{/if}}
        
      
        </td>
      </tr>
      {{/foreach}}
        </tbody>
      
    </table>
    </div>
    <div class="page">{{$pageList}} 计{{$total}}条记录，共{{$totalpage}}页</div>
    <br />
    <br />
  </div>
</div>
<!--bodywrapper-->

</body>
</html>